﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

using Vega.USiteBuilder;

namespace SPCFMedicineInformer.DocumentTypes
{
    [DocumentType(Name="Medicine Category",
        IconUrl="repository.gif",
        AllowedChildNodeTypes = new Type[]
        {
            typeof(MedicineGenericName)
            ,typeof(SymptomListing)
            ,typeof(MedicineCategory)
        })]
    public class MedicineCategory : Vega.USiteBuilder.DocumentTypeBase
    {
        [DocumentTypeProperty(UmbracoPropertyType.RichtextEditor, Name = "Description", Description = "",
           Tab = Constants.Tabs.Content)]
        public string Description { get; set; }

        [DocumentTypeProperty(UmbracoPropertyType.TrueFalse, Name = "HideInConsultation", Description = "",
           Tab = Constants.Tabs.Content)]
        public bool HideInConsultation { get; set; }
    }
}
